package com.example.diyview;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

import com.example.diyview.Viewgroup.Flow.FlowLayout;

import java.util.ArrayList;
import java.util.List;

public class MainActivity extends AppCompatActivity {
private FlowLayout flowLayout;
private List<String> list = new ArrayList<>();
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
//        flowLayout = findViewById(R.id.flowtext);
//        Log.d("TAG", "onCreate: ");
//        list.add("如上图所示");
//        list.add("所以想值");
//        list.add("获取的是控");
//        list.add("必");
//        list.add("在创getWidth");
//        flowLayout.settext(list);
    }
}